package cloud.alibaba.study.entity.seckill;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import cloud.alibaba.study.entity.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_seckill_product")
public class SeckillProduct {

	@TableId(type = IdType.AUTO)
	private Long seckillProductId;
	private Long seckillActId;
	private Long productId;
	private BigDecimal seckillPrice;
	private Integer seckillCount;
	private Integer seckillLimit;
	private Short seckillSort;
	@TableField(fill = FieldFill.INSERT)
	private Date createTime;

}
